package com.tmt.im.common.enums;

import lombok.Getter;

/**
 * 钱包事件类型
 *
 * @Description TODO
 * @Author wuyi
 * @Date 2024/8/6 19:52
 * @Version 1.0
 **/

@Getter
public enum WalletEventType {

    ALL(-1, "全部"),

    RECHARGE(0, "充值"),

    CASH_WITHDRAWAL(1, "提现"),

    ROLLBACK_CASH_WITHDRAWAL(101, "回退提现金额"),

    CASH_WITHDRAWAL_FEE(2, "扣提现手续费"),

    ROLLBACK_CASH_WITHDRAWAL_FEE(102, "回退提现手续费"),

    TRANSFER_ACCOUNTS(28, "转账"),

    SEND_EXCLUSIVE_RED_PACKET(21, "发送专属红包"),

    SEND_PERSONAL_RED_PACKET(22, "发送个人红包"),

    SEND_LUCKY_RED_PACKET(23, "发送群红包"),

    RECEIVE_EXCLUSIVE_RED_PACKET(24, "领取专属红包"),

    RECEIVE_PERSONAL_RED_PACKET(25, "领取个人红包"),

    RECEIVE_LUCKY_RED_PACKET(26, "领取群红包"),

    REFUND_RED_PACKET(27, "红包退回"),

    REFUSE_CASH_WITHDRAWAL(5, "提现驳回"),

    RAFFLE(80, "抽奖"),

    BUY_BEAUTIFUL_ACCOUNT(78, "买靓号"),

    BUY_SECOND_ACCOUNT(91, "买副号"),

    BUY_COLOR_EGG(92, "购买彩蛋"),

    GET_COLOR_EGG(93, "获得彩蛋"),

    UPGRADE_SESSION(141, "群升级")
    ;

    private int type;

    private String name;

    WalletEventType(int type, String name){
        this.type = type;
        this.name = name;
    }
}
